<template>
	<view>
		<view class="header status_bar" :class="scrrol == true ? 'scrrolHeader' : ''">
			<view class="back iconfont icon-xiangzuo1" @tap="backPage"></view>
			<view class="text" :class="scrrol == true ? 'scrrolHeader' : ''">提交结果</view>
		</view>
		<view class="bg_box">
			<image class="bg01" src="../../static/bg05.png" mode="widthFix"></image>
			<view class="bg_content">
				<view class="rule_box">温馨提示：请注意接听来电 </view>
				<view class="tick_box iconfont icon-chenggong"></view>
				<view class="title_box">提交成功</view>
				<view class="text_box">正在放款中，快至当天到账，请耐心等待。 放款成功后，我们会第一时间通知您， 请注意查收短信 </view>
				<view class="confirm02">知道了</view>
			</view>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {
				page: 1,
				scrrol: false,
				info: '',

			}
		},
		onLoad() {

		},
		methods: {
			loadData() {
				let that = this;
				// 	that.Net._get('shop_home', {}, res => {
				// 		if (res.code == 200) {
				// 			//console.log(res);

				// 		}
				// 	});
			},
			backPage() {
				uni.navigateBack({});
			},
			gotopage(e) {
				let url = e.currentTarget.dataset.url;
				uni.navigateTo({
					url: url
				});
			},

		},
		onPageScroll: function(Object) {
			//console.log(Object.scrollTop); //实时获取到滚动的值
			if (Object.scrollTop > 28) {
				this.scrrol = true;
				/* #ifdef APP-PLUS */
				/* #endif */
			} else if (Object.scrollTop < 28) {
				this.scrrol = false;
				/* #ifdef APP-PLUS */
				/* #endif */
			}
		},
		onReachBottom() {
			var that = this;
			that.page++;
			// that.Net._get('shop_goods', {per_page:'10',page:that.page,}, res => {
			//   if (res.code == 200) {
			//     //console.log(res)
			//     if (res.data.data == '') {
			//       uni.showToast({
			//         title: '已经是最后一页了',
			//         duration: 2000,
			//         icon: 'none'
			//       });
			//     } else {
			//       that.info = that.info.concat(res.data.data); //将数据拼接在一起
			//     }
			//   } else if (res.code == 0) {
			//     that.Msg.Success(res.msg, res => {});
			//   }
			// });
		},
	}
</script>

<style>
	.header {
		background-color: transparent !important;
	}

	.header .text {
		background-color: transparent !important;
		color: #333 !important;
	}

	.scrrolHeader {
		background-color: #F9E9E3 !important;
	}

	.bg_box {
		width: 100%;
		position: relative;
	}

	.bg_box .bg01 {
		width: 100%;
	}

	.bg_box .bg_content {
		width: 92%;
		position: absolute;
		left: calc(50% - 46%);
		top: calc(13.5vw + var(--status-bar-height));
		z-index: 98;
	}
	
	.rule_box{
		width: 100%;
		padding: 4%;
		background-color: #FEE8D2;
		color: #333;
		line-height: 6vw;
		font-size: 3.5vw;
	}
	
	.tick_box{
		width: 18vw;
		height: 18vw;
		font-size: 8vw;
		border-radius: 50%;
		border: 5px solid #252B3C;
		color: #FC5D20;
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 10vh auto 0;
	}
	
	.title_box{
		font-size: 6vw;
		color: #333;
		margin-top: 3vh;
		text-align: center;
		font-weight: bold;
	}
	
	.text_box{
		font-size: 3.8vw;
		color: #999;
		margin-top: 4vw;
		text-align: center;
	}
	
	.confirm02{
		width: 60%;
	}

	
</style>